﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>index</title>
    <script src="~/Scripts/jquery-1.7.1.min.js"></script>
    <script>

        $(function () {

            $(".ceshi").click(function () {
                var a = 1;
                $.ajax({
                    type: "get",
                    url: "@Url.Action("ReturnData")",
                    data: {
                        "Action": a,
                        "Data": "data"
                    },
                    success: function (data) {
                        console.log(data);
                    }
                });
            });

        })
    </script>
</head>
<body>
    <div>
       @* <button class="ceshi" style="height:30px;width:50px">测试</button>*@
    </div>
</body>
</html>
